Update DefaultController.php

Added comments and slight cleanup