Refactoring and cleaning up a bit

 * Removed unused methods
 * Moved appropriate code into the MakefileAm class
 * Created ConfigureAc class
 * Created AutogenSh class
 * Added lots of comments