protect internal methods.
Added a common Transport class.
Added YARD for documentation.