Added system design documentation and made cosmetic updates