Removed trailing white space so I don't see the warning anymore
Removed dead code and reorganized code into smaller, more functional parts
Merge branch 'master' of github.com:encorelab/CommonKnowledge