Added epydoc doc/html
Some code cleaning and docstrings