added functionality to cli, removed from mastermind