simpleInitApp(), NiftyGui, 3D,multiple classes

I have a “NiftyGui” class which extends SimpleApplication and a simpleInitApp() method in this class that displays my gui.

There is another class in the same package that uses the simpleInitApp() and creates my 3Dmodels(spatials).

Is it possible to rename those 2 methods and call them from another class which will initialize my application?