Refactored code to comply own standard.

fixes #11 
Comments start with a capital letter.