Rearranged stuff to allow add_data to be called later on instance and be redrawn
Added resizing