Added staticitemfactory.h and dynamicitemfactory.h
Added some changes