Error & Controllers

Error & Controllers added to the functionality for the framework.