Renamed controller to input method

Added unit tests for ConsoleInputMethod