Sri----go to some AKC events and watch the CD and CDX events. You can train your dog to behave perfectly, off leash under all conditions. Talk to some of the people who are competing and find out whom they recommend as trainers or where to get instructions to learn to train. Many towns have whole clubs devoted to training.
It takes about 3 to 4 months to train to CDX(companion dog excellent) level. When you have done the training properly using maximum distractions, you'll be able to take your dog anywhere, under any conditions, off leash and you will never need a leash. So long as you continue to use the training and work it regularly, it will NEVER be lost. It only gets better and better the more you use it.
The thing is, once done, and used everyday----the training gets easier and easier. Before long, before you even notice it, it gets so easy and you have both learned so well, that you don't even think about it anymore----it is simply the way that you both do things----you and your dog communicate with completely minimal interaction. Sort of like learning to ride a bicycle. You and your dog both know what to do---and you just do it. LOL!!! The thing is, for MOST people who do not know much about training or how it works----it appears to be totally magic.
I've taken as many as 4 and 5 dogs at a time, all off leash into the busiest of downtown urban environments----off leash, and even could leave them in a sit/stay or down/stay and go into stores and shop for half an hour and come back out to find them exactly where I put them, and I never had a problem. Well, from the dogs I never had a problem----sometimes people give you some problems, but the dogs learned to ignore them and mostly I did too.
Check it out----you'll NEVER be sorry you did.
"I'd better go with you Huck, civilization can be dangerous."-------Tom Sawyer(Mark Twain)