Consolidated the send_command method. Replaces individual command methods.