turn the python lib into a proper module.