- split candidateGenerator into hpp file