Adding new layers to the network