better api, add static configure for flexible "container or configurator" classes