reorganizing directories structure and use autotools
more clean (autoscan.log config.h config.h.in)
completely moved to autotools