beginning work on match function
Merge branch 'master' into tdd-user
added match and destroy tests and model functions