Using the framework abstraction correctly

I had written a `self.nodeHandler` to abstract out the initial
administrivia while creating a new node right at the beginning. Up
until now, I wasn't using it correctly. This has now been fixed.