Added a clean build environment.
Check md5 for downloads; Cleaned-up code.