makeFunctions -> buildFunctions
use pre-generated functions map
move html template function generating into separate module
restruct code, move template binding factory to basis.template