Add routes and load todos from server