Changed name of main class to TextHandler