added team-metrics. Now metrics.js reads from command line for input - defaults to local file 'input'.