Add graphics sub module, and update the code style, replace tab with space