split shared module in networking, preferences, constants