load ghost core before using api