added View class to render view files, renamed and updated all view files accordingly