update: add original GPL2.0 license + add back documentation and unittests from the original repo

Signed-off-by: Stephen L. <lrq3000@gmail.com>