Add ShapeFactory.js