Added licenses to most .py files