updated to psr-4
added possibility to load custom detectors