Detached mode
Recognizes if launches from file protocol, loads mock resources.
Convert resources to Promises