First implem of offline mode - NOTHING TESTED
First implem of offline mode - NOTHING TESTED