Add header file option. Closes #2
add tests and regex check for available licenses