How design a autoencoder architecture
Yes, there are open source examples. Take a look at here and here.
About your second question, yes. There are numerous studies. For instance, take a look at Supervised Representation Learning: Transfer Learning with Deep Autoencoders.