added resources for Category, Product and ProductImage following TableData Gateway pattern