housekeeping

Add comments and documentation