Core library for social networking