added GPL license and license fix