Include license header and license.txt
Delete old functions