Updated code generator

 To accept a boostrapper instead of calling revealCurrentPlace right away