Added a whole bunch of documentation to LayerManager