Backend for panels and layers done