Move the tools to the python-code
Create a leveldb row from an image