Code style improvements, readme update etc

Just an attempt to get involved in open source. This seemed to be an interesting project so thought I will just give an attempt.