restructuring and events

changed directory structure. added
event system description