refactoring, apk file processing