Implemented matching model class and JUnit test for matching class