Create functions.php

PHP class declarations and associated methods