def capwords(phrase):
    """
    Capitalize each word in a string. A word is defined as anything with a space separating it from the next word
    """
    lowercase_only = ('via',)
    uppercase_only = ('CX',)
    capitalized = [word.capitalize() for word in phrase.split(' ')]
    capitalized = [word.lower() in lowercase_only and word.lower() or word for word in capitalized]
    capitalized = [word.upper() in uppercase_only and word.upper() or word for word in capitalized]
    return ' '.join(capitalized)