Added specs for relationships
Added documentation for relationships