Refactoring, using sep. files
More refactoring, making main node file executable
Updated installation to copy files into /usr/local/lib rather than always running out of the dev directory.