Add generic interface

The neven.[ch] came from `https://github.com/lqs/neven`.
Written by `Liu Qishuai <lqs@lqs.me>`.
Add scons script
Delete useless files

They caused compile errors and, not used in Android too.