routes and policy refactored

revise the routing, and all the correspondence,
as well as the policy refractorng