General fixes, added GNU license