Add EntityLinker.
- extracted the linking part from the EntityFactors
- fixed entity-dependency-issue