add file s1.cpp
new file s1_modular.cpp
new file modular.h