Merge pull request #1 from richclement/master

Initial setup of application
updated sql and channel logic. fixed rotate.js scripting
Merge remote-tracking branch 'upstream/master'