add setup, tests, Makefile; minor change as per pep8