Included readme.md and fixed a couple of issues