doc updates, small cleanups
basic logging
split classes in files