make it possible to update the template path that is displayed
allow php scripts to change the template path
use pathinfo() instead of a regex to get the extension
make the path matching logic a separate function
improve managed forms by allowing branches and non-type members
rework api so that template doesn't need to be passed to managed form