working on layer panel/layer templates

the code is getting wrecked but hey it works