Added trackers API and some refactor.