Updated the way of including the module config in the rest controller