Added astyle script which can be called from a pre-commit hook.