init CakePHP app code