modify makefile, move/modularize retrieve to separate project dir
modify makefile, move/modularize retrieve to separate project dir