Added inmem db, added functionlaity for image compression and face detection