The NPE happends bcs you are not passing the Script object from your main class, you can extend this banking class as much as you want with "Script", but thats a wrong use of it.
This code is a very weird way of using OOP ... why are you running code in the constructor???
A COnstructor is to initialize variables and such, not to run code that interacts with the game..