Added more CSM code, fixed so that the last CSM is used. Pushing before restarting (in case i may lose das data)

Signed-off-by: Strakas <reetopps6@hotmail.com>