I'm not sure about the stove requirements but be sure that the stove pipe including the elbow is at least 18" away from anything combustible. The chimney pipe needs at least 2" clearance from combustibles and it will need to be chased upstairs. You probably could do this creatively by making an expanded metal guard with an air gap, that surrounds the pipe.