improve documentation, allow for expose section in config
standalone sample