refactoring project to a also be a python package