Cleaned up a bit, and put licenses on all the files