getting rid of old main.cpp