extracted the Model part and added the Vriants API calls