Simple abstract layer for MySQL