Improve Resource class
Add test for Resource class. Add images and sounds for testing
Use new methods. Delete Resource class