Creating a shared library for GroupVPN and SocialVPN controllers