Updated architecture documentation/small changes in methods commandExecute