Move PNG generation library code into the ./shield package and remove autodetection of dataDir
Rename func Init -> LoadResources
Use absolute import, not relative import
Check for errors in test code, and move test data to shield/testdata to fix errors