logging across modules

working, but a lot of code duplication.
integrated std logging into program

- removed old logfile file
- yep
- much more functionality with std logging