Added main in database to create tables and load initial data