[route] refactor component

remove entities configuration using public properties
[route] fix phpDoc comments
[route] fix tests
[route] fix tests
Merge pull request #2 from mixkorshun/feature/route

Refactor route component