Add back Utils we had in kitkat

Don't know original authors

Change-Id: I3eb5a15d0c4d9bc8eae6ac7239eb829df518917e