First code to initialize the database