structuring project, adding renderer.cpp