[TASK]Update event handling added some service functions.
[TASK]Updated templates for new data structure.