remove layerremote template, move stuff into layeritem