organize imports, format, add renderTick member in gameloop