Slim configuration now in a generic class rather than container extension