Update to 0.7 - Image API support!

-Added full support for Image API! see readme for an example use case.
-Fixed a lot of memory leaks