Formalize Makefile and modify staging.cpp