updated README and finished commenting