Implemented sprite. Closes #302.