[API-51] Magically relate resources

https://gointegro.atlassian.net/browse/API-51
![image](https://cloud.githubusercontent.com/assets/1863223/5076141/910cd034-6e77-11e4-8553-463fd02d58c6.png)