created a controller for ssh sessions and sending commands