Fixed link to api
Add an excerpt on how to get the application instance
Add closing brace to controller