Added processor registry and uglify minification
Tidy up tests and get working from subdirs