TrackManager introduced

TrackManager class for managing capturing and tracking in a threaded
context.