refactored line processing code, added dynamically named processors