bam: add command abstract class.
command-info: add BamCommandInfo to describe a command.
info: add command type to command info
ad lookup_command routine.
add headers.