added forge entity in utils, and use it in EM.
clarify that accepting class string, and returns an entity.
added some phpdocs.