started migrating models to Scala, also started mongoDB accessors