A simple routing class that uses tries