Cleaned up database stuff a bit. Databases are created.