Added support for resolving relationships

You'll find a description in the `README.md`