We initialize the canvas. By initializing I mean adding dynamic button/divs, and adding axes and stuff. They are now added in the 
class object. So we can test it in below lines