adds Makefile with `install` target; splits common functions into separate drutils.py