Added new head interface and new function in world_model ed to get entities