Reconstruction of source codes

All sources are simply spitted up into two files. No further
modification.

Signed-off-by: Chen, Yiqun