got derived construction working
got autoencoder inheritance working