moved templates directory to flatpage folder