Add ability to write level config module as a function (closes #364, BEM-931)