def split_command(command):
    """
    :param command: the command introduced by the user
    :return: the command word and command parameters
    """
    tokens = command.split(maxsplit=1)   # splits the input in the command word and command parameters
    command_word, command_params = None, None
    command_word = tokens[0]
    if len(tokens) == 2:     # the parameters might not exist
        command_params = tokens[1]

    command_word = command_word.strip().casefold()      # trying to convert the command_word to small cases and to remove any additional spaces
    return command_word, command_params