Added method to create the database schema when opening the app for the first time.