added checking for index.html file existing; added Makefile; moved to own directory
minimal error checing added