Add layers with CLayer class