added the basic eventhandler and contentrenderer