rework classloader

- make it available in config
- always use classloader, no manual require
- compatible for future composer alternative
Not a fan of mixing class definition with side effects: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md#23-side-effects