Added LineReader class.