change directory structure, add params to local source, cleanup in demo

Signed-off-by: cheesinglee <cheesinglee@gmail.com>