update README, fix index template, move random pattern to config.yaml