Moved JS controller and view into their own files.
Merge pull request #20 from nickmeehan/testing

Moved JS controller and view into their own files.