added transactions where necessary
added git attributes file