Cleanup

![](http://commandotester.files.wordpress.com/2013/07/is8k8zy.gif)

* rename functions and classes for better readability
* re-structure code for readability 
* spec/my everywhere
* jsdoc everywhere
* one "class" per file
* removes deprecated code