switch seeborg.cpp to use stl for all io.