Source code beautifier

Reformat the source code for better readability.