Added headers and sources for constants, functions, and globals