change namespace to NexmoLib and convert variables to camelCase