Trying to unify sync function.
Added class for storing tracking info.