Added MIT License
Converting some stuff over to cpp style, need to start using build in sets