Orm db

active record models and migrations