Coding standards

define method visibility, add newline at the end of files
Merge pull request #1 from JedenWeb/patch-1

Coding standards