refactor all commands to use the more testable Console CommandAdapter