add basic graph module
Improve log support
add some class for better support ridley