Transitioning over to consolidated API call pars

Grouping the parameters of API function calls into a single data
structure. Did break some of the functionality