basic initialization and offline environment