Adjust indentatiion.
Extend build_uc_command to build_simple_command. Takes cmd_type as
second argument.
Move send_request to commandlib.
Use build_simple_command.