Prepairing the router and interface class