added text menu builder class and associated testing class