Extract an interface of ssh task handler
Rearrange package structure
Introduce session manager