redirector: module enhancement

* Refactors module in order to move logic from api to model.

* Create new regitry for redirect methods.

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>