added noisy layer
merged layers and corruption into autoencoder class