Finish sample app
Refactor relationships controller