Modified constuructor of World to take a canvas