Deformation Theory of Algebras and Their Diagrams door