You got a dog. It seems, with no understanding of what goes into owning a dog. He or she isn't just an ornament. You leave it alone all day, then you're mad at it when you get back. The thing gets no affection or companionship. Dogs are pack animals, they don't do well isolated. Likewise, dogs MUST have an outlet for energy, though it does vary with breed. I really really hope you weren't shortsighted enough to have gotten a high-energy breed with a need for mental stimulation (working breeds especially) if you're leaving him home all day.
Caging the thing borders on animal cruelty. YOU got the dog. YOU made the commitment. YOU'RE the one who doesn't give the dog an outlet for his natural instincts. YOU'RE the one who hasn't had time to find a reputable dog training class that would teach you as much as it would teach the dog.
So don't come on here whining about how much your dog sucks. I feel bad for the dog, his owner kinda sucks.
God help you if you have kids, you going to lock THEM in a closet all day?
You want a well behaved dog?
1) LEARN about your dog. If its not a pure breed, or close, just read about dogs in general and see what seems to match yours.
2) ENROLL in an obedience class.
3) COMMIT to spending time with the poor creature. Mental and physical stimulation every day.
4) And stop blaming the poor dog, HE didn't pick you.
(My apologies for the strong opinions here, but YOU brought the issue here.)