Add config file and schema into setup

Signed-off-by: xcgspring <xcg1987xcg@126.com>
fix some issues

Signed-off-by: xcgspring <xcg1987xcg@126.com>