Added some comments to the README, replaced the index.html file with a new one and added some printf() statements for debugging.