Moving functions over to includes.php. Created process.php as called for by domain.php