set up models in the rails server