First implementation of apkdirectoryfactory.py