moving idgenerator to the upper package