Add configs controller and some endpoints.