Changed types to use the Agr type for agreement and fixed all broken code
few slides for the project work in GF summer school 2013