added EventManager implementation
added Control class