added comments
added comments
MultiLayerContainer can now be limited to certain layers
seperated code by creating new function
fixed bug by deleting old code