Add routes and Flash helper