Added license and started on converting it to work as a library as well as using the new name.