Added library RDP code