Very basic functionality

A first commit of the very first functionality. It seems as if this is already
kind of able to store (and maybe also restore) images.