fixed rotation alignment and added spin class