added possibility to use dependencies for route controllers