Adding the sync client code back into time keeper

should be correct, but might need some more reviewing