Extracting class definitions in separate class files, add autoloading.
Rename variables for better readability.
Add comments.
mostly code changes, f.e. simplifying if conditions and long-winded code.
t() function changed to work with any parameter count to replace more then one placeholder
rename all *.inc files to *.php and change include commands respective
Merge pull request #29 from renarena/master

ready to integrate from my point of view as far, maybe there are still some bugs