Class Ware
fixed db

done diagramm, fixed errors