public function evaluate($target) {
        
        
        switch (Utils::get('type', $target)) {             
            case 'class' :
                $return = $this->processClass(Utils::get('target',$target), Utils::get('match', $target));
                break;
            case 'controller' :
                $return = $this->processController(Utils::get('target', $target), Utils::get('match', $target));
                break;
            case 'view':
                $return = $this->processView(Utils::get('target', $target), Utils::get('match', $target));
                break;
            case 'eval':
                $return = eval($target['target']['eval']);
                break;
            default:
                throw new \Exception("Undefined target",404);
        }
        return $return;
    }