Added CakePHP dependency
Use Layer error handler