Begin to update build scripts
Improve build scripts (make file hierarchy nicer).
Rename directory 'misc' to 'build'.