This document discusses a proposed system for improving social-based routing in delay tolerant networks. The proposed system takes into account both the frequency and duration of contacts to generate a higher quality social graph. It also studies community evolution to dynamically detect overlapping communities and bridge nodes in social networks. Simulation results show the proposed routing algorithm outperforms existing strategies significantly.