add function to create and delete tablespaces