Replace all status code checking with CheckStatusAndThrow
Implement Alert class