Added MIT license to top of each file
Reorderd functions, added notification to user when completion threshold is crossed.