new router class