Refactored out model.
Added some jsf stuff. Now shows list of matches.