added setup.py, josh.py and tests.py