Events and command manager and queue for your application