Wrote more documentation in the readme, added a license