fixed error handling
restructured configure.ac
added autotool stuff
better gettext handling