Made coding style more consistent and also updated README.