Added license
Documentation
Additional docstrings