Rafactoring: put linedemo into a new package SVG and move Lines factory
class to a top level class