Updated file structure, renamed templates, added image and directory handler

Updated controller, view, templates, directory. Added image and
directory handler to controller and updated data model to move html
elements from data model to view/ html template.