Add base config for Rest