Clean Code and Alert Views

Clean the code so its more readable and start implementing the alert view for different scenarios.