Added commented test code. Layers should be working properly. Needs to be tested !! WITH CLIENT !!