Refactored sheet controller