Add game class,tick/render functions