fixed typo
ensure Header can be created
made interface clearer
renamed method
cleaned up.
test command handling