integrating the rack template into flask