Storage utils mostly

Added some functions for dealing with storage.  Also the ability to
provide credentials