First step in unifying the social and network builder functions. The
code is coalesced. Just need to clean up the module structure to
remove some unnecessary code.