Moved the tick and keyboard handlers into their own classes.
Everything is now initialized via the proxies.