convert from hooks to events
update comments and css
add events license etc...
Ajax is always Ajax (to match request formatting)
update router