Coding standards

Allied with #327 to fixes #219.