api package renamed core