Database schema generation and population working