fix bugs in factory, get levelcontroller
got input working! now input is instantiated in controllermanager. Refactoring is next