Update CmdHandler.php

TODO: Move the static functions in Faction class into Main or another class in non-static functions.