[Bug 421] Implement a DIB engine