Added rotate and distort functionality, organized content