fix syntax error: exceeded 120 characters
fix syntax errors: adjust whitespace, formatting, move class to its own file