add debug tool
add ecs and scenegraph files
improve some details