rework classloader

- make it available in config
- always use classloader, no manual require
- compatible for future composer alternative
This is to match behavior of composer autoloader. so you could $loader = require autoloader.php; and then do stuff with $loader.