You saw why using modules is important and how to create a Java module in an earlier Post. In a similar fashion you can add an Android module to your project.
Android Studio makes it easy to add a new module. Follow the video to understand the steps.
Source code is available here