How was Naruto raised?

So like, something that always bugged me is how was Naruto able to have his own apartment when he was just a kid? He was like 7 in some of the flashbacks and I'm just expected to believe he had to live by himself. I heard some people say the Third raised him but that can't be true since they never really had a father son bond. Not that the Third hated Naruto or vice versa or anything, it's just I don't buy it. So what, was there a leaf orphanage or something?