makefile changes
refactor render.hpp/.cpp with c11 styles