use Demo's Factory class to build various objects;