Project restructuring and port to cmake

Signed-off-by: helio <helio@roboken.iit.tsukuba.ac.jp>