Updates to the models

Moved the contents of require.php into functions.php to eliminate a
redundant step.