Add a generic function to create form & persist entity and rename itemsCategories collection to itemCategories