module TP2

def config(opts = nil, &app)

def config(opts = nil, &app)
  return @config if !opts && !app
  @config = opts || {}
  @config[:app] = app if app
end