moved handlers to base\c namespace and replaced closures in $s['handlers'] with strings.