added commandline option to start in offline mode
Added hooks to save session data when adding/removing contacts
Added dummy storage to avoid some redundant checks and avoid loading sqlite database when not needed