making linker class-based
adding tests
adding setup.py so I can put this in pypi eventually