Add initial version of wb_function_template
Deal with upstream queue lock
Cleanup module