Some documentation on most classes.
New test classes.
Added logging.