Implement database with two tables:users and events
Implement two tables' function: save,delete,find,update and count.