Created Panel module which contains Panel & Line class's also added code to scale the panel to the size of the canvas