How to create apk of basic app, Which installs other seperate files like games on user request

Hi koders,
I am recently working on one of my projects, in which I required some features as follows:

  • Create a base APK of project having basic functions and all essential files.

  • After Installation of APK, app should load some other files (games) on user request.

  • Clearing data of app clears downloaded portion.

Actually my apk is getting too large so I wish to break it into parts (the multiple games portion). It is the same feature as in multi gaming platform MPL app where we can download games of our choice.

Also how can I create fragmented files.

If anyone know then please let me know if it is possible