Refactored some code to match checkstyle
Merge pull request #10 from mariusoe/master

Refactored some code to match checkstyle