add apkDB and modify base class