Added core directory for api