Adds ability to pass layers in the constructor
0.0.4