- added "belongs to" and "has" as arrays to abstract model
- removed $value from field, added $primary