start adding logging. add server info when server starts.
add more log output.
move logging to a module
add log file output