Various fixes, added readme.md