Updated input and dispatching process, added some event-methods to the generator