Licensed under WTFPL.
Added design doc.