create the database at startup