make routing algorithm classes final