implemented Events Module & Deferreds Module