adding zlib license
updated README with some relevant design ideas, so I don't forget them later