Updating the index.php file.
Upgraded error handling to use BooBoo. Adding a view registry to the views. Excluding migrations from being opened during creation of config object, since it includes the configs file.