added product save method to product.js, created proxt for put, delete operations