added essay and description functionality to index and script. added templates in script. cleaned up some code
merged with main