Confucianism as a religion

What do you think of Confucianism as a religion? Historically, many have viewed it as much as a philosophy or system of beliefs aiding social structure as much as a religion. What aspects of Confucianism make it “religious?” Are there philosophical or religious structures that have or could work this way (to strongly support social roles and structure) in the west?