#2 renaming stuff in SSA to match SAM, add config to SAM, start build CSR stuff in SAM and use it in SSA