Refactoring: move and order classes by ssh protocol layers.