Add an offline mode

The recent connectivity issues with Onionoo makes it hard to test and work on Atlas. It would be handy to have an offline mode where Atlas retrieves its data from a local file or server.