Add a routes handler