Implementing routing into a simple table. Routing example for class.