Cleaned up AlertLayer file and preping it to be as generic as possible