added first class functions, changed methods
closures working
added autotools