preliminary support for belongs to relationships

not very good