Fix #40 - Add code style template and reformat code.