setting up the models and the databases for places