commented and fixed formatting issues in Alert module
fixed formatting, added comments
fixed formatting and added comments