small kernel working with microsoft azure, use as basis for gem