code quality
replaced by composers autoload
refactored, fixed url building
uses definitions from container (requires proper interfaces) + tests