Moved code from doc to cf format, replaced with includes
Added example cf files