Added Subfolders for js
Using a separate Register object.
Moved routing algorithm to a separate object.
Using Bus model instead of handler.