Offline mode implemented.
Completed offline mode - Closes issue #2.