set up configuration, run migrations, create models and associations