fixed factory

added json ddata service to factory
added add item view model