add keytype handler
added a few methods for starting game