refactored code to not use django models, also catching repeat verses
represent references as dictionaries