added error controller, service and template
added new structure