set up models and databases for places