refactored rotatable component
refactored scalable component
refactored Nigo’s Cave example