adds migrations for the orm, creates active record models