Complete config API for the swagger-ui + general cleanup