added sample config file. added sample index file to show how to get metrics.