Added some missing methods to the application_helper, and added a route to the imageviewer.