Main router with views wrapper