Added basic matching algo and matching algo framework
Added testing api for use in console testing