add core source file