Re-organised code files
Created template view files for output instead of echos
Merge pull request #13 from danbartram/view_files

View files. Much easier to read nice work :)