Updated component.js
Created match.js
Added match.js to compilation fiels