implemented the first version of ORMFigureFactory