ORM implementation. First version under heavy development. Not ready for production.