added getConfig methods to ApiHelper
minor whitespace adjustments