More OO.

Line to layer/feature implemented.
Save function started.