Take him to one spot to do his buisness, that one spot, and only that one spot. Go with him and make sure he does it there.
If he does it anywhere else, bag it, and take it to that spot while he is following you, put it there and make it sure it knows it's done wrong.
Only feed him after you have ate, so he knows he has to wait for his food, otherwise he will controll you.
Feed him only dog food. Nothing else. Or he will get a taste for it.
Walk him every day, and walk him well.
:)