Add db interface; write mysql driver;test code