Gravar-mail: Modeling epigenome folding: formation and dynamics of topologically associated chromatin domains