made the main text field to a singleton class to be used universally.