image library from small agusha
lots of changes to implement new/old image lib
added gm to package.json
fix