initial commit of offline mode