Fix build error issue, adding math and spc dll
Refactoring. Seperated the algorithms and integrated the projects into several folders