Refactored game client to have separate client and engine classes to control client program and renderer respectively