Added functions for creating and destroying databases.