Change to events.
Added controllers, models etc. so they can be overriden. Modified header and organisation files.