You gotta understand that this is pretty much the case at a LOT of places. In the beginning, you should be humble, at least for the first few years. Once you're the most senior person there, say in 5 years, you'll have a lot more political power to do the things you think are right.
And as far as refactoring goes, take things 1 part at a time. Don't try to refactor everything all at once.