Remove Makefile and add setup.py script

As I indicated in my comment on issue #1, I think the `Makefile` can be removed in favour of using `/usr/bin/env`.

This pull request also adds a proposal for a `setup.py` script and move some code around to make it a bit more Pythonic (subjective, of course, but I could not resist; sorry!).