small changes
changed license to bsd, previous gpl was not compatible, as i found out