Update main.cpp file to incorporate opengl modularization with application modules