readme updated and minor bugs fixed