add LICENSE file, change to MIT.
change everything to regex strings, remove some unhelpful comments.