Added KeyCoder class and extended a tick event to have a keyCode array