Added design documentation