added odata and used it in product controller
merged