Add very simple list command, refactor the way CLI acitons and option validation is done