refactored main to work with script, added setup.py, requirements
refactored directory structure