Limited line functionality

Data structure for storing results implemented.