- WIP AMD refactoring
- Completed moving to AMD
- Changed to commonjs