SSC finished

SSC finished, some revisions may be needed.
draw functions corrected