Minor tidying up
Add codesniffer ruleset