First version of CLI implemented