restructured

parseCommand ready.
hasRank, findClass are open items