A model for handling multiple social networks and its implementation