Normalize code style and indentation fixes
Fixes #18
Append new line to end of file