added much needed comments to php templates. Move all php files to one tempalte folder for good housekeeping
a little js modi