set-up models and migration