Get rid of global app instance