add beaker.py and set pythonpath so it can be imported