Base classs for tracking and one derived class with complete tracking algorithm