Routing

convert to routing
Better remove the main function completely, you do not need it (if you really don't want to remove it, remove the route) at least.