nice & fancy OOP code with same base for SVG and Eagle brd