EventListeners added

Implemented an EventListener system for model-view-controller
communication