added pictures and also added some architecture code