Adding module splitting logic
Merge pull request #13 from jeremyf/adding-module-splitting

Adding module splitting logic