removed old test code, updated license to GPLv2, added GPL headers to all source files