Refactored ORM to simplify usage and combine Table and ORM into one.