Added ORM and MongoDB gateway