added closure support
Closures can be now added as listeners
While adding listener its now possible to [optionally] set priority