Convert to flask flatpage app