Rdp training set

Move training set logic to GMT RDP. Move functionality from other places to it.