moved LocalRepositoryGenerator to its own module

Change-Id: I43d6e9dc261d8753c8de1284fd05cf00c00672df