added core module for api calls