Adding Event object

Work in progress commit.