Finished irouter class definition