Some little changes

I like this class.

I added some new methods and changed some other. Further I did some code reformatting and also refactoring for some methods.

Please have a look. Hope, you like it.