add command for list routes and fix model import