Theoretical framework of metapopulation and progress in application