Initial work on modularization; added setuptools script.
Added requirements.txt as install_requires in setup.py