Move loading, generating, saving outputs to the top of the method
rename DepthBuilder.cpp to Build.cpp and fixed makefile