Move unnecessary inclusions from header files to cpp files. Hope it can speed up compilation.