implement InvalidCommandExeception, move exceptions to gameCore