add canvas and game classes.