separate out the class interval tree for future use
modify to conform to the new file organization