implemented encryption functionality (closes #7)
switched to Command/Response pattern in GUI, various other GUI changes