added clean python cli and library