trying psr-4 again and fixed refactoring issue with getName -> name