Update CommandLine.php

Moved IO methods to Console class.