improved resource calling, added promise for bulkloading