REV: Done some initial works for APP example