big refactor, moved lots of code out of the bin/quicksync file;
Merge branch 'master' of github.com:whelmingbytes/quicksync