Use forward declarations in main.cpp.