creates the database