socket attach
loadRoot method