Introduce a new class to manage sprite task