Implemented flat page support

flambages 的 acceptance test