adds apihelper, jsonhelper. reworks to utilize helpers