Cf key split

Splitting cf-key into two parts so it is easier to test it.