Refactoring the Sprite class.
Added access denied notification.