Started creating Layer class.
Factoring of layers.
Factoring of Layer class.