Split survey functions to survey_requests
Functions for formatting api requests
Import required libraries