Set up for offline mode.  Fixes #6, but #20 still needs work.