Merge pull request #370 from jazzzz/submodules

Submodule support