Gets text from API and writes to files
Adds index.html