Created AbstractFeature.
Moved line calculations to OnThirdOrFourthLine.