Licenses can now be sent periodically. Also implemented logging.