MySQL database layer for Seneca framework