Socialite code for cleaner and modular function-driven code