Coding standards

define method visibility, add newline at the end of files