create layer by category object that contains an array for each layer list