update submodules' contents
reorganize code format so that the source codes look nicer.