With over 50 posts to this site, you should have been told multiple times already that you need to format your code properly. This will help tremendously in getting more help from people. As it is right now, my only inclination to help is to tell you, once again, to do yourself and others a favor and format your code properly. Are you not using an IDE like Eclipse or NetBeans or IDEA? All it takes is a few keystrokes or if you're not up to doing that, a few clicks of the mouse.
Why do you have to change your code to work with a driver class? Most classes should have a public interface and any other code using the class uses that public interface. You need to program your driver class to work with the public interface.