added setup.py script and fixed import in cli-tool