:moved class into seperate file, added ability to crop images