Debugged some.  Externalized setting of api keys.