refactoring, tests pass, pyblue can now be installed via PyPI, moved pyblue into a standalone package