Updated README.md, added documentation and fixed some file endings