add a Makefile... dropping pub
extract the important pub funcitons into a python file
remove pub.py