CellFactory changed to singleton
Draw algorithm incapsulated in drawing elements themselves