A config way to build a rest module