This changed some variables access and the Makefile to build from "./cmd" direcoty.
Not very efficient to make this after development, but at least I can ensure that some basic stuffs are checked.