Reworked masterSync structure, successfully tested integration with Joe's Connection class