adding in the ability to save alerts
breaking api helpers into more files