starting breaking out the main file.
added a simple log factory so I can just build a log object and just use it.