refactored constructor for new API params. added new API param class properties.