minor updates
* lots of work on the logging
* improvements on the basics (mostly addition of logging)