Splitting out the MakefileAm class