changed name strings in spec to constants
added code sample to README, added basic support for relationships