Added submodule support
Merge pull request #66 from jerizm/submodules

Support submodules
Revert "Added submodule support"

This reverts commit d3f59a881163f2250610811a9864c66101f04027.
Clean up code