Break up the source file into classes. Formatting.
Refactoring: better method names for Complex class.