Created functions for LayerManager Class