code cleanup: drastically reduce the amout of globals and put code in the right places
tree38bec0550f9d37c8c71331a2cfe4127d8b40e167
-rw-r--r-- 4 .gitignore
-rw-r--r-- 2847 Makefile
drwxr-xr-x - doc
drwxr-xr-x - etc
drwxr-xr-x - src
drwxr-xr-x - tools