Fixed player animation, implemented AnimatedSprite class.
Added thread pool for future implementations.