Create md_event.php

model for event table