refactored all main.cpp, added function scopes and then reordered all functions by their significance
refactored all main.cpp, added function scopes and then reordered all functions by their significance

ramonsaraiva/objeditor