Moved line processors to Contracts to be able to extend current implementation