update controllers/routing 

(resubmit from corrupted PR #52) closing #52