apply good naming practice to some variable names. added comments for ErrorMessages class