added method to save the variations in product API
added new product API actions
fixed some coding standards