Wrote some documentation in readme