Some code cleaning + keystore cert fix
New API: CakeREST. In dev... And Header changes..