adv class, test class and cmake files added