changed regex delimiter to : for easier reading
Implemented capturing groups for routing.
renamed $method and $methodName variables to $actionName