initializing the database