Revamp the generator and create two sections init and configure in the Generefile.