Add license header.
Missed removing on merge.
Fix unit test/ remove TODOs
Remove files left after merge/refactoring.
Remove onModule method that is no longer needed.
Enable ES testing framework.

... and fix subsequent failures.