a lot of fix

should be cleaner.
plugins are easier to implement
no settings.erl, more settings.cfg and a configuration server (almost
complete)