updating index to counter
renaming code to IdGenerator
renaming to idgenerator
renaming to id-gen