Refactor into smaller pieces
Refactor out the Occurrence model
Remove log
Clean up