Create Item Factory

Created item factory and added a test method.

Test method should be removed later.