Complete CCB.m and add main.m