Added visibility declarations to methods
Moved starting braces to own line