Update SM Toolchain and Reorganize repo