Improved micro-level planning.
Separated the Logger class.
Code cleanup.