separated class for cc reconstruction
separating main programs from their code