add method imports to __ini__.py
refactor process.py to make testing easier