Create swcobject.cpp