added events model, table and controller