Adding the impl of render and a constructor with an actual init call to renderer in main.cpp.