Add Constant, debug log, and relative project path support (more test needed)