What are you trying to do looks dangerous to me. Try to understand what those classes are for and ask some advice from a colleague. He will definitely help you on that. You will not find an answer here because your situation is too specific and we have no sample code.
Also, some OOP lecture will help you a lot.
solved Get access to other classes [closed]