Generator is done.

1.	It can generate two file: html and json.
2.	json_encoder.php is for php 4 which has no define the function json_encode()
3.	I use the the gist from here:
		https://gist.github.com/robflaherty/1185299
	I modify it so it can read csv sting and convert it to json.