added GPLv3 license, removed dead code