wip added first bit of calls.go to handle calls, plus refactored adding query params to base class