Added index and image view pages.
Configured controller to handle new routes to accept form functions.