removed old files
added mediator abstraction and structured code a lot