Updated multicache to accept callbacks and promises