Create base class SpRouter