Added extra comments, update the readme file, tidied up the build script by making some variable names more descriptive.