add framework 1.4 (incomplete). Will replace cmp.php when completed