Added method docstrings, class type comments and License