added support for reading static files from package

see pull request for details

tested (both variants) with BFW