Refactor the handleFile function into smaller tasks
Add "Compiling" and "Cure" sections
Generate the build directory if it doesn't exist

This removes the need to have the build dir commited to the repo.
Rename some constants