new cmakelists and added read_images
read images works nice
cut patches added
prepare for discretization