Added before_action and after_action signals
Create a handler_error method for Router in order to handle all erorrs from router