updated README and added documentation