implemented and tested proper relation attributes
Merge pull request #105 from evillemez/relation_attributes

implemented and tested proper relation attributes