Restore support for animated png files
* Rework resource manager
* Add missing files
* Improve some graphics classes