Split admin page functions from settings.php