Ticket_6: added docstrings and some html