1. Convert to psr-4
2. follow core for path.alias manager
3. a bit of clean-up