added utils class for helper functions. continued implementing custom events