add some base methods into BaseAppPackage