Add intellij stuffs.
Fix reboot bug.