Initializing essess image library

Copying lots of stuff from celery pipeline