Added __main__ and license string.