add m3g headers
Use separate method to load native symbols
Refactor native libraries
Update m3g headers
Add m3g symbols
Add M3G bindings
Add m3g to update-res script
Make object cache available to libraries
Store Image instances in cache