Reformat codebase