added InputLine to be the new Line struct once refactoring is done.
moved handle cache into class LogSources