Work towards displaying images

split up the back-end routes for managebility
front end works towards displaying images
More work