Reformat code, add CLion project files.