instantiate app