core: updates to MIT-style license and properly includes in file heading