Removed box namespace and fixed other stuff

Signed-off-by: Diwank Singh <diwank.singh@gmail.com>
Added Events class and fixed syntax

Signed-off-by: Diwank Singh <diwank.singh@gmail.com>