Created Thesaurus class for keywords and added relevant tests