doing some refractoring, the idea is to move main into cryo.c and then have the RC algorithm be in its own file