move off the utility functions to lib/functions.php
add config template
metadata update via genschema
metadata update via genschema