added lib.cli module