Initial ORM release (horribly coded but works)