Add core source and header files.