Adding the design document

You can thank me later for doing this