refine description.
separate file handling functions.
add an accessor to event base.
fix the wrong database string.
implement to add one record.
compute a current time when requested.