Some function cleanup, Error return

Double check your function calls, some instances of 'Host' have been changed to 'Url'
If we are unable to communicate with the CW server, return an error array.