Updated config for submodules.

Now uses a standard json file, and is setup to properly use submodules.