Removed cli stuff from resize class