Move base relay forward functionality to abstract class
Organize imports
Introduced abstract class for relay connection (client side)