modified the product adding api for adding product and created corresponding elequent models