Move basic variables back to main.cpp.