Add APPS API for compile