Added text file reader class, and refactored the text utility classes