adding enumeration for GameType and StatusType and fixing implementation issues.