Beginning of Server/client Materials refresh

Added server/client packet handling