moving common server components to bagri-server-common