Created a textDrawer class by taking the text drawing functionality from the messageBox class.