renamed layers to presentation and session