remove lodash dependency
refactor model; add intersection tests.