Clean up function names
Make testable
Add support for commonJS and AMD
Gitignore sublime files