Start to introduce configuration for REST
Fix REST Api