added basic README file
refactored code, tested rotation procedures