preferences added

preferences window to store API key for xively http request header