Create factory that will create figure object on given name and array of points > http://pl.wikipedia.org/wiki/Metoda_wytw%C3%B3rcza_%28wzorzec_projektowy%29