minor refactoring, formatting, etc.; initial rudimentary sketches of command publication record