Changes to setup to make smoother

The setup process has been made smoother by removing references to the
registry in the view and changing the setup.php file to be directory
agnostic instead of needing to be run from a particular directory.