First pass at creating a router and swapping views