setup.py written

Supporting nose and flake8 setuptools commands.