removed ctoken; fixed headers; meet changes in other classes; replaced ob_end_clean() with ob_clean()