Fixed and tested create(), cleaned up all functions, and added createDatabaseDirecotyIfNotPresent(). This commit has commented out code