[route] refactor component

remove entities configuration using public properties
[route] fix phpDoc comments
[route] fix tests
[route] fix tests
Merge branch 'master' into dev