create router and controller for localhost:3000