created a router and some models