re-factor INSTR_CALL
organize main function
add getchar to keep the console window open