modified the readme, and added documentation