main.cpp added to repo