added documentation, some html generators