close and reset server functionality, grabbed prettify from google to speed up loading
renamed server and graphing files, added comments