Added code style settings.
Reformatted code.