Remove cyclic dependencies;

Terminal -> Application
Esc 	 -> Terminal

Also, remove redundant requiring of Terminal from EventRepository.

Add silly document which shows me which classes are referencing which other classes. For some reason this helps me to understand the structure of the project.