Moved the Event handling of the client in the utils. It has been completely rehauled, to use static factory methods, which should make the code way more readable. Also uses User everywhere instead of direct references to the pseudo.