svg.tile refactoring

svg.tile finalized, code cleanup