add applying lines and series (draft)

Signed-off-by: Blazej Mirowski <blazej.mirowski@tieto.com>