added rotation and removed some files