Continuous states q-processes and applications in the study of coalescent with recombination