Restructure alerter app