first version, added multi-dex support