moved main entity extraction to a separate module called entities.py