AppInstance: separate constructor from load()