Refactoring and adding render image and animation tasks.