Update and rename CoreApi.hpp to src/ncoreapi.hpp