Added the REST submodule and fixed a bug in the config parsing script