Started working on averaging flow and integrating stuffs.