Added sql for table creation and population