Created entity wrapper class

Will eventually contain specialised event functions, ie onClicked etc.