consts added
Makefile and externs added