Added pypi integration and rudimentary unit testing.