Added the Layer class