Add pattern module, implemented better event usage throughout existing modules