Refactored index, added modal for delete homework