Add Titles class and tests