Adding some design documentation